{% form_theme form theme %}

<form action="{{ path('fos_user_change_password') }}" {{ form_enctype(form) }} method="POST" class="fos_user_change_password">
<div class="modal-body">    
    {{ form_widget(form) }}
</div>
<div class="modal-footer">
  	<input class="btn primary" type="submit" value="Changer de mot de passe" />
</div>
</form>